
.userlist ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.userlist ul li {
    min-height: 50px;
    display: flex;
    padding: 0 8px;
    align-items: center;
    border-bottom: 1px solid #efefef;
    cursor: pointer;
    position: relative;
}

.userlist ul li.active {
    background-color: #41a1b7;
    color: #ffffff;
    margin: 0 -1px;
}

.userlist ul li .hint {
    color: #9d9d9d;
}

.userlist ul li.active .hint {
    color: #d5fbff;
}

.userlist ul li.active:before {
    content: '\e60e';
    position: absolute;
    right: 0;
    color: #f7f7f7;
    font-size: 13px;
    margin-top: -9px;
    top: 50%;
    font-family: 'iconfont';
    z-index: 0;
}

::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-track {
    background-color: #ffffff;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
    width: 6px;
    border-radius: 3px;
    background-color: #999;
}

::-webkit-scrollbar-track-piece {
    background-color: transparent;
    -webkit-border-radius: 0;
}

.userlist ul li:hover {
    background-color: #efefef;
}

.userlist ul li.active:hover {
    background-color: #46adc5;
}

.mCSB_inside > .mCSB_container {
    margin-right: 0 !important;
}

.message {
    display: flex;
    padding: 12px 16px;
    position: relative;
}

.message.time {
    padding: 32px 16px 12px 16px;
}

.message.time:before {
    color: #8c8c8c;
    position: absolute;
    top: 6px;
    text-align: center;
    left: 50%;
    margin-left: -100px;
    width: 200px;
    font-size: 12px;
    line-height: 24px;
    content: attr(time);
    z-index: 0;
}

.message .text {
    position: relative;
    padding: 10px;
    font-size: 14px;
    color: #ffffff;
    border-radius: 8px;
    word-break: break-all;
}

.message.other .text {
    position: relative;
    background-color: #41a1b7;
    color: #ffffff;
    border-radius: 8px;
}

.message.mine .text {
    position: relative;
    background-color: #8594a0;
    color: #ffffff;
    font-size: 14px;
    border-radius: 8px;
}

.message.system {
    justify-content: center;
}

.message.system .text {
    color: #fff;
    padding: 8px;
    margin: 8px 8px 8px 30px;
    border-radius: 4px;
    background-color: #a2e0ef;
    word-break: break-all;
    max-width: 75%;
    line-height: 22px;
}

.message.mine {
    justify-content: flex-end;
}

.message.other {
    justify-content: flex-start
}

.message > img.avatar {
    width: 40px;
    height: 40px;
    margin: 0 12px;
}

.message.other .text:before {
    content: '\e64d';
    font-family: iconfont;
    left: -8px;
    position: absolute;
    color: #41a1b7;
    z-index: 0;
}

.message.system .text:before {
    content: '\e64d';
    font-family: iconfont;
    left: -8px;
    position: absolute;
    color: #a2e0ef;
    z-index: 0;
}

.message.system .text:after {
    content: '\e661';
    font-family: iconfont;
    line-height: 22px;
    position: absolute;
    color: #ea974e;
    left: -30px;
    top:7px;
    font-size: 18px;
}

.message.mine .text:before {
    content: '\ea82';
    font-family: iconfont;
    right: -8px;
    position: absolute;
    color: #8594a0;
    z-index: 0;
}